package com.promise.jokerdream.work.manager

import com.promise.jokerdream.work.BaseWorkManager

/**
 * 江湖长梦工作管理器
 * 负责管理江湖长梦相关的后台任务
 */
class KnightDreamWorkManager : BaseWorkManager() {

    companion object {
        @Volatile
        private var INSTANCE: KnightDreamWorkManager? = null

        /**
         * 获取KnightDreamWorkManager单例
         */
        fun getInstance(): KnightDreamWorkManager {
            return INSTANCE ?: synchronized(this) {
                INSTANCE ?: KnightDreamWorkManager().also { INSTANCE = it }
            }
        }
    }

    override fun getManagerName(): String {
        return "江湖长梦"
    }
}